package com.grape.dp.observer.jdk.observer;

import java.util.Observable;
import java.util.Observer;

/**
 * 描述:SmsObServer 观察者具体实现
 * @author: myx
 * @date: 2019/7/29 0029
 * Copyright © 2019-grape. All rights reserved.
 */
public class SmsObServer implements Observer {
    public void update(Observable o, Object arg) {
        System.out.println("用户下单成功,发送短信提醒内容:" + arg);
    }
}
